<html>
    <head>
        <title><?php echo $this->pageTitle; ?></title>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/main.css" />
    </head>
    <body class="page">
        <div id="container">
            <div id="header">
               
            </div><!-- header -->

            <div id="zoneleft">
<?php $this->widget('application.components.thunderz.auth.TLoginPortlet',
    array('visible'=>Yii::app()->user->isGuest)); ?>
<?php $this->widget('application.components.thunderz.profile.TUserMenuPortlet',
    array('visible'=>!Yii::app()->user->isGuest)); ?>
            </div><!-- sidebar -->
            <div id="content">
<?php echo $content; ?>
            </div><!-- content -->
            <br class="clearfloat" />
            <div id="footer">
                <p><?php echo Yii::app()->params['copyrightInfo']; ?><br/>
                    All Rights Reserved.<br/>
                <?php echo Yii::powered(); ?></p>
            </div><!-- footer -->
        </div><!-- container -->
    </body>
</html>
